<?php 
class Zend_View_Helper_ActionFile {
   
   function controllerName()
   {
   	$request = Zend_Controller_Front::getInstance()->getRequest();
   
   	$result = strtolower($request->getControllerName());
   
   	return $result;
   }
   
   function actionName()
   {
   	$request = Zend_Controller_Front::getInstance()->getRequest();
   
   	$result = strtolower($request->getActionName());
   
   	return $result;
   }
}